home *** CD-ROM | disk | FTP | other *** search
/ Interactive Media Design Review 1999 / Interactive Media Design Review 1999.iso / pc / allfiles / angry / scene1_2.dir / 00008_Script_entrance&eyes&nippleRollOvers < prev    next >
Text File  |  1999-03-01  |  1KB  |  49 lines

  1. --FRAME: entrance&eyesRollOvers
  2. global gGuyTextList
  3.  
  4. on enterFrame
  5. --  set gGuyTextList to [:]
  6.   
  7.   if rollover(4) then --entrance
  8.     cursor [the memberNum of member "pointy", the memberNum of member "pointy_mask"]  
  9.   end if    
  10.   
  11.   
  12.   if rollover(3) then --guy face
  13.     if gGuyTextList = [:] then
  14.       go to frame "guyRoll_1" 
  15.     else if getaProp(gGuyTextList, #a) = 1 then
  16.       go to frame "guyRoll_2"
  17.     else if getaProp(gGuyTextList, #b) = 2 then
  18.       go to frame "guyRoll_3"
  19.     else if getaProp(gGuyTextList, #c) = 3 then
  20.       go to frame "guyRoll_3"
  21.     end if
  22.     
  23.     
  24.     set the member of sprite(7) to member "eyesLOOP"
  25.   end if 
  26.   
  27.   if rollover(5) then 
  28.     --left nipple
  29.     go to frame "nipples"  
  30.     set the member of sprite(7) to member "eyesLOOP"
  31.   end if
  32.   if rollover(6) then
  33.     --right nipple
  34.     go to frame "nipples"  
  35.     set the member of sprite(7) to member "eyesLOOP"
  36.   end if
  37.   
  38.   
  39.   if NOT rollover(4) then --entrance
  40.     cursor -1   
  41.   end if
  42.   
  43.   
  44. end
  45.  
  46.  
  47. on exitFrame
  48.   go to the frame
  49. end